package org.elzat.healthboxgatewayapp.service;

import org.elzat.healthboxgatewayapp.credentials.HealthBoxUserRole;
import org.elzat.healthboxgatewayapp.dto.HealthBoxUserVO;

import java.util.List;
import java.util.Optional;

public interface HealthBoxUserQueryService {

    List<HealthBoxUserVO> getAllUsers();

    Optional<HealthBoxUserVO> getUserByUserPhone(String userPhone);

    Optional<HealthBoxUserVO> getUserByIdNumber(String idNumber);

    Optional<HealthBoxUserVO> getUserByUserPhoneAndIdNumber(String userPhone, String idNumber);

    List<HealthBoxUserVO> getAllByRole(HealthBoxUserRole role);

    Optional<HealthBoxUserVO> getUserByUserPhoneAndRole(String userPhone, String role);

    Optional<HealthBoxUserVO> getUserByIdNumberAndRole(String idNumber, String role);
}
